package com.cxria.springcloud.config.client.controller

import org.springframework.beans.factory.annotation.Value
import org.springframework.web.bind.annotation.GetMapping
import org.springframework.web.bind.annotation.RestController

@RestController
class ConfigController {

    @Value('${foo}')
    String foo

    @GetMapping('/hello')
    String hello(){
        foo
    }

}